import {get, post, del, put} from "@/apis/http/request";
import {DepressCollectResult} from "@/apis/model/exam/DepressCollectResultModel";

/**
* 得到列表
* @param params
*/
export const getDepressCollectResultList = (params: any) => get("/depressCollectResult/list", params)

/**
* 得到分页列表
* @param params
*/
export const depressCollectResultPage = (params: any) => post("/depressCollectResult/page", params)

/**
* 删除数据
* @param id
* @returns
*/
export const deleteDepressCollectResultById = (id: number) => del("/depressCollectResult/delete/"+ id)

/**
* 新增数据
* @param param
*/
export const insertDepressCollectResult = (param: DepressCollectResult) => post("/depressCollectResult", param)

/**
* 更新数据
* @param param
*/
export const updateDepressCollectResult = (param: DepressCollectResult) => put("/depressCollectResult", param)